package cn.com.fattiger.framework.cms.admin.common.dao;

import java.util.List;

import org.springframework.data.repository.Repository;

import cn.com.fattiger.framework.cms.admin.common.model.Menu;

/**
 * Created by Administrator on 2015/12/1.
 */
public interface MenuRepository extends Repository<Menu, Integer> {
    Menu getMenuById(Integer id);
    void save(Menu menu);
    List<Menu> findMenuByPid(Integer id);
    List<Menu> findAll();
    void delete(Integer id);
    List<Menu> findMenuByIdIn(List<Integer> ids);

}
